home *** CD-ROM | disk | FTP | other *** search
- #include "abc.h"
- #include "Quickdraw.h"
- #include "windowMgr.h"
-
-
- short currentcursor;
-
-
- CursorAdjust(w)
- WindowRecord *w;
- {
- Point pt;
- CursHandle curs;
-
- GetMouse(&pt);
- LocalToGlobal(&pt);
- if ((PtInRgn(pt,w->contRgn)) and
- (currentcursor notequal 0))
- {
- curs = (Cursor **)GetCursor(currentcursor);
- SetCursor(*curs);
- }
- else
- {
- SetCursor(&arrow);
- }
- }
- /*
- WindowSize(w,r)
- WindowRecord *w;
- Rect *r;
- {
- BlockMove(w->portRect,r,sizeof(Rect));
- */
- CursorInUse()
- {
- return(currentcursor);
- }
-
- CursorToUse(c)
- short c;
- {
- currentcursor = c;
- }
-
-